Skip to content

Eklipse topics migration#11125

Open
EfraMP wants to merge 13 commits intonf-core:masterfrom
EfraMP:eklipse_topics_migration
Open

Eklipse topics migration#11125
EfraMP wants to merge 13 commits intonf-core:masterfrom
EfraMP:eklipse_topics_migration

Conversation

@EfraMP
Copy link
Copy Markdown
Member

@EfraMP EfraMP commented Apr 6, 2026

PR checklist

Eklipse topics migration. By some reason stub wasn't being tested, so I also added a stub test

  • This comment contains a description of changes (with reason).
  • If you've fixed a bug or added code that should be tested, add tests!
  • If you've added a new tool - have you followed the module conventions in the contribution docs
  • If necessary, include test data in your PR.
  • Remove all TODO statements.
  • Broadcast software version numbers to topic: versions - See version_topics
  • Follow the naming conventions.
  • Follow the parameters requirements.
  • Follow the input/output options guidelines.
  • Add a resource label
  • Use BioConda and BioContainers if possible to fulfil software requirements.
  • Ensure that the test works with either Docker / Singularity. Conda CI tests can be quite flaky:
    • For modules:
      • nf-core modules test <MODULE> --profile docker
      • nf-core modules test <MODULE> --profile singularity
      • nf-core modules test <MODULE> --profile conda
    • For subworkflows:
      • nf-core subworkflows test <SUBWORKFLOW> --profile docker
      • nf-core subworkflows test <SUBWORKFLOW> --profile singularity
      • nf-core subworkflows test <SUBWORKFLOW> --profile conda

Comment thread modules/nf-core/eklipse/main.nf Outdated
Copy link
Copy Markdown
Contributor

@famosab famosab left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good just some minor comments :)

file(process.out.circos[0][1]),
file(process.out.versions[0])).match()
}
{ assert snapshot(process.out).match() }
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You can use

{ assert snapshot(sanitizeOutput(process.out)).match() }

to clean up the snapshot using nft-utils. It is used to clean process and workflow outputs by removing the numbered keys. This will create snapshots that are more easy to read by humans.

then {
assertAll(
{ assert process.success },
{ assert snapshot(process.out).match() }
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
{ assert snapshot(process.out).match() }
{ assert snapshot(sanitizeOutput(process.out)).match() }

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You can run

nextflow lint -format -sort-declarations -spaces 4 -harshil-alignment

on this file to clean this up nicely.

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

omg that's so useful!!

@EfraMP EfraMP requested review from a team as code owners April 9, 2026 18:15
@EfraMP
Copy link
Copy Markdown
Member Author

EfraMP commented Apr 9, 2026

The conda environment was broken, so I'm skipping conda tests

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If you removed conda support then you need to add a warning that conda is not supported by this module. But I would rather try and investigate what happens with conda and why it does not work

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I looked into it and the bioconda recipe is broken. This tool requires python 2.7 (😱), but didn't pin all dependencies, so one of it (tabulate), is installed as a python3 tool, so has a broken syntax. The solution: fix the bioconda recipe by pinning all dependencies (or at least tabulate to tabulate=0.8.9)

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I see. Just updated the Bioconda recipe, waiting for its approval

Comment thread .github/skip_nf_test.json Outdated
"subworkflows/nf-core/dia_proteomics_analysis",
"modules/nf-core/diann",
"modules/nf-core/doubletdetection",
"modules/nf-core/eklipse",
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
"modules/nf-core/eklipse",

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

whoops

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants